import { BrowserRouter, Navigate, Route, Routes } from "react-router"
import Home from "@/pages/Home.jsx"
import AboutMe from "@/pages/about/AboutMe.jsx"
import Dashboard from "@/pages/dashboard/Dashboard.jsx"
function App() {
  return (
    <BrowserRouter>
      <Routes>
        <Route index element={<Navigate to="/dashboard/home" />} />
        <Route path="dashboard" element={<Dashboard />}>
          <Route path="home" element={<Home />} />
          <Route path="about" element={<AboutMe />} />
        </Route>
      </Routes>
    </BrowserRouter>
  )
}

export default App
